package com.tools.pojo.workflow.bo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.tools.common.model.BaseEntity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("flow_node")
public class FlowNode extends BaseEntity {

    /**
     * 流程定义ID
     */
    private Long flowDefinitionId;
    /**
     * 节点代码
     */
    private String nodeCode;
    /**
     * 节点名称
     */
    private String nodeName;
    /**
     * 节点类型
     */
    private String nodeType; // START, END, STEP, CONDITION, PARALLEL
    /**
     * 处理Bean名称
     */
    private String handlerBean;
    /**
     * 节点配置
     */
    private String config;
    /**
     * 执行顺序
     */
    private Integer executeOrder;
}
